package com.zzyl.nursing.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Description DoTask
 * @Author zhangyuanpeng
 * @Date 2025-07-25
 */
@Data
public class DoTask {
    /**
     * 状态  1待执行 2已执行 3已关闭
     */
    @Excel(name = "状态  1待执行 2已执行 3已关闭 ")
    private Integer status;
    @ApiModelProperty(value = "护理任务ID")
    private Long taskId;
    @ApiModelProperty(value = "执行图片")
    private String taskImage;
    @ApiModelProperty(value = "执行记录")
    private String mark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预计服务时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime estimatedServerTime;
    //操作人
    @ApiModelProperty(value = "操作人")
    private String executor;
}
